libxl_json: Remove libxl__json_object_append_to from header
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 4 Jan 2019 13:53:21 +0000 (13:53 +0000)
committerWei Liu <wei.liu2@citrix.com>
Fri, 11 Jan 2019 14:57:52 +0000 (14:57 +0000)
commit60351caf90494f7e74ae767b5a09471ae9bbbd60
tree42ab6e7694e641bd9d2aae25f2d2f0342d85fd67
parentaa402adb0b8cdbaf49ee877cdfb7dd5a50203e0a
libxl_json: Remove libxl__json_object_append_to from header

It isn't possible to use libxl__json_object_append_to() outside of
libxl_json.c as there is no way to allocate a struct libxl__yajl_ctx.
So also remove libxl__yajl_ctx typedef from the internal header.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_internal.h
tools/libxl/libxl_json.c